package com.ruoyi.rural.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 用户信息对象 rural_user
 * 
 * @author 杨明
 * @date 2022-01-17
 */
public class RuralUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户id */
    private String id;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 用户性别（0男 1女 ） */
    @Excel(name = "用户性别", readConverterExp = "0=男,1=女")
    private String sex;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String email;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phonenumber;

    /** 有效证件类型 */
    @Excel(name = "有效证件类型")
    private String validDocumentsType;

    /** 证件号 */
    @Excel(name = "证件号")
    private String validCertificateNumber;

    /** 用户类型 */
    @Excel(name = "用户类型")
    private String userType;

    /** 现居城市 */
    @Excel(name = "现居城市")
    private String currentCity;

    /** 风险等级 */
    private String riskLevel;

    private String ruralHouseId;

    public String getRuralHouseId() {
        return ruralHouseId;
    }

    public void setRuralHouseId(String ruralHouseId) {
        this.ruralHouseId = ruralHouseId;
    }

    public String getRiskLevel() {
        return riskLevel;
    }

    public void setRiskLevel(String riskLevel) {
        riskLevel = riskLevel;
    }

    public String getUserType() {
        return userType;
    }

    public void setUserType(String userType) {
        this.userType = userType;
    }

    public String getCurrentCity() {
        return currentCity;
    }

    public void setCurrentCity(String currentCity) {
        this.currentCity = currentCity;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setSex(String sex) 
    {
        this.sex = sex;
    }

    public String getSex() 
    {
        return sex;
    }
    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getEmail() 
    {
        return email;
    }
    public void setPhonenumber(String phonenumber) 
    {
        this.phonenumber = phonenumber;
    }

    public String getPhonenumber() 
    {
        return phonenumber;
    }
    public void setValidDocumentsType(String validDocumentsType) 
    {
        this.validDocumentsType = validDocumentsType;
    }

    public String getValidDocumentsType() 
    {
        return validDocumentsType;
    }
    public void setValidCertificateNumber(String validCertificateNumber) 
    {
        this.validCertificateNumber = validCertificateNumber;
    }

    public String getValidCertificateNumber() 
    {
        return validCertificateNumber;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("sex", getSex())
            .append("email", getEmail())
            .append("phonenumber", getPhonenumber())
            .append("validDocumentsType", getValidDocumentsType())
            .append("validCertificateNumber", getValidCertificateNumber())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
